improve user_confirm / recover code flow
This commit is contained in:
@@ -30,6 +30,9 @@ User.init({
|
||||
scopes: {
|
||||
withoutPassword: {
|
||||
attributes: { exclude: ['password', 'recover_code'] }
|
||||
},
|
||||
withRecover: {
|
||||
attributes: { exclude: ['password'] }
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user