add user account email verificiation (#977)
* add user account email verificiation includes server and client code to: * enable verificationRequired via custom config * send verification email with registration * ask for verification email * verify via email * prevent login if not verified and required * conditional client links to ask for new verification email * allow login for verified=null these are users created when verification not required should still be able to login when verification is enabled * refactor email verifcation pr * change naming from verified to emailVerified * change naming from askVerifyEmail to askSendVerifyEmail * undo unrelated automatic prettier formatting on api/config * use redirectService for home * remove redundant success notification on email verified * revert test.yaml smpt host
This commit is contained in:
parent
04291e1ba4
commit
d9eaee3939
42 changed files with 715 additions and 24 deletions
|
@ -34,6 +34,7 @@ export interface CustomConfig {
|
|||
signup: {
|
||||
enabled: boolean
|
||||
limit: number
|
||||
requiresEmailVerification: boolean
|
||||
}
|
||||
|
||||
admin: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue