-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login with email code #270
base: main
Are you sure you want to change the base?
Conversation
… user to login with an e-mail code instead of a password. (Back-end not yet implemented)
…andnode2 into LoginWithEmailCode
@LeeDalchow Thanks for contributing.
|
@KrzysztofPajak Thanks for your review! Will post my replies below alongside each suggestion number:
Would it be a good solution to modify:
to be something like:
and then assign loginCode (if not null) to AdditionalTokens, which can then be passed into the message?
If we add extra security (such as a session cookie ensuring the login is from the same browser) to the login by email page, it would make sense to also add that change to the "I forgot my password" area. |
…her than just setting it to expire
Just a quick note to say I've been busy lately but still intend to finish the updates! |
…re used in indsutry to refer to this functionality.
|
Resolves #172
Type: feature
Issue
Adds the ability to login to the system using an e-mail code instead of the password
Solution
Adds a link on the Login page that allows the user to send themself an e-mail that contains a link to log the user on directly to the system.
Breaking changes
I have edited both InstallDataMessageTemplates.cs & DefaultLanguage.xml, so upgrade scripts will need to be provided to update this. I checked the migrations folder and they seemed to be specific to version upgrades. Was unsure where the code for this upgrade should go.
Testing