mirror of
https://github.com/volatiletech/authboss.git
synced 2026-06-19 23:00:27 +02:00
@@ -218,6 +218,7 @@ See also: [Validation](#validation)
|
||||
- [Views](#views)
|
||||
|
||||
**Storage Requirements:**
|
||||
- Email (string)
|
||||
- ConfirmToken (string)
|
||||
- Confirmed (bool)
|
||||
|
||||
|
||||
+4
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-3
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user