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)
|
- [Views](#views)
|
||||||
|
|
||||||
**Storage Requirements:**
|
**Storage Requirements:**
|
||||||
|
- Email (string)
|
||||||
- ConfirmToken (string)
|
- ConfirmToken (string)
|
||||||
- Confirmed (bool)
|
- Confirmed (bool)
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -84,8 +84,10 @@ func (c *Confirm) Routes() authboss.RouteTable {
|
|||||||
// Storage requirements
|
// Storage requirements
|
||||||
func (c *Confirm) Storage() authboss.StorageOptions {
|
func (c *Confirm) Storage() authboss.StorageOptions {
|
||||||
return authboss.StorageOptions{
|
return authboss.StorageOptions{
|
||||||
StoreConfirmToken: authboss.String,
|
authboss.Cfg.PrimaryID: authboss.String,
|
||||||
StoreConfirmed: authboss.Bool,
|
authboss.StoreEmail: authboss.String,
|
||||||
|
StoreConfirmToken: authboss.String,
|
||||||
|
StoreConfirmed: authboss.Bool,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -50,9 +50,10 @@ func (l *Lock) Routes() authboss.RouteTable {
|
|||||||
// Storage requirements
|
// Storage requirements
|
||||||
func (l *Lock) Storage() authboss.StorageOptions {
|
func (l *Lock) Storage() authboss.StorageOptions {
|
||||||
return authboss.StorageOptions{
|
return authboss.StorageOptions{
|
||||||
StoreAttemptNumber: authboss.Integer,
|
authboss.Cfg.PrimaryID: authboss.String,
|
||||||
StoreAttemptTime: authboss.DateTime,
|
StoreAttemptNumber: authboss.Integer,
|
||||||
StoreLocked: authboss.DateTime,
|
StoreAttemptTime: authboss.DateTime,
|
||||||
|
StoreLocked: authboss.DateTime,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user