Andréas Kündig
Andréas Kündig
This might be related to https://github.com/d3/d3-selection/issues/185 which seems to be a webpack issue. This workaround worked for me: ``` import 'd3-transition' ```
e02 is the same as -e20
I hadn't seen the json api, that will be a big help, thanks. One thing that also helped was disabling SECURITY_CONFIRMABLE and SECURITY_UNIFIED_SIGNIN. They just add hurdles when you want...
So there is a better way to login, and it even returns an authorization token ``` javascript let loginResponse = await( await fetch("/api/accounts/login?include_auth_token", { "headers": { "Content-Type": "application/json"}, "body": JSON.stringify({email:"[email protected]",...
Ha! It is implemented. ``` bash curl 'http://127.0.0.1:5000/api/hello' -H 'Authentication-Token: WyIxIiwiJDUkcm91...' ```
Here's my solution, with some tests, but I don't know if this catches everything ```javascript export function convertPathToGlob(filePath) { if (!filePath) { throw new Error(`cannot create glob for file path...
I need this! The code presented here no longer works with the latest version, but I managed to do something similar in my controller: ``` ruby def passwordless_url_to(authenticatable, destination_path =...
I made it work by setting webpack.config.js to ignore pg.js, in the same way I had to tell it to ignore pg-native. ``` output: {...}, plugins: [ new webpack.IgnorePlugin(/^pg-native$/), new...
`default_url_options` would be implemented in the ApplicationController, or whatever other class you set as `config.parent_controller` in your [configuration](https://github.com/mikker/passwordless?tab=readme-ov-file#configuration). This is recommended in the [rails i18n guide](https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-url-params) . It says `ApplicationController#default_url_options`...
I wrote some tests for a i18n setup that uses the locale in scoped routes. If you look at my commits in order: - [6e88b48](https://github.com/mikker/passwordless/pull/209/commits/6e88b488802c5de2b79cf1ce5b06c92aae9b70cc) sets up a scoped route,...