mirror of
https://github.com/volatiletech/authboss.git
synced 2025-01-22 05:09:42 +02:00
parent
883a907ca4
commit
1c275a132a
@ -218,6 +218,7 @@ See also: [Validation](#validation)
|
||||
- [Views](#views)
|
||||
|
||||
**Storage Requirements:**
|
||||
- Email (string)
|
||||
- ConfirmToken (string)
|
||||
- Confirmed (bool)
|
||||
|
||||
|
@ -84,8 +84,10 @@ func (c *Confirm) Routes() authboss.RouteTable {
|
||||
// Storage requirements
|
||||
func (c *Confirm) Storage() authboss.StorageOptions {
|
||||
return authboss.StorageOptions{
|
||||
StoreConfirmToken: authboss.String,
|
||||
StoreConfirmed: authboss.Bool,
|
||||
authboss.Cfg.PrimaryID: authboss.String,
|
||||
authboss.StoreEmail: authboss.String,
|
||||
StoreConfirmToken: authboss.String,
|
||||
StoreConfirmed: authboss.Bool,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,9 +50,10 @@ func (l *Lock) Routes() authboss.RouteTable {
|
||||
// Storage requirements
|
||||
func (l *Lock) Storage() authboss.StorageOptions {
|
||||
return authboss.StorageOptions{
|
||||
StoreAttemptNumber: authboss.Integer,
|
||||
StoreAttemptTime: authboss.DateTime,
|
||||
StoreLocked: authboss.DateTime,
|
||||
authboss.Cfg.PrimaryID: authboss.String,
|
||||
StoreAttemptNumber: authboss.Integer,
|
||||
StoreAttemptTime: authboss.DateTime,
|
||||
StoreLocked: authboss.DateTime,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user