implement svg interface in login and signup
This commit is contained in:
@@ -105,6 +105,18 @@ func (db *InMemoryDb) RefreshUser(user m.User, passocode []int, customerAttr m.C
|
||||
return nil
|
||||
}
|
||||
|
||||
func (db *InMemoryDb) RandomSvgInterface(kp m.KeypadDimension) ([]string, error) {
|
||||
return nil, errors.ErrUnsupported
|
||||
}
|
||||
|
||||
func (db *InMemoryDb) RandomSvgIdxInterface(kp m.KeypadDimension) (m.SvgIdInterface, error) {
|
||||
return nil, errors.ErrUnsupported
|
||||
}
|
||||
|
||||
func (db InMemoryDb) GetSvgStringInterface(idxs m.SvgIdInterface) ([]string, error) {
|
||||
return nil, errors.ErrUnsupported
|
||||
}
|
||||
|
||||
func userIdKey(customerId m.CustomerId, username m.Username) string {
|
||||
key := fmt.Sprintf("%s:%s", customerId, username)
|
||||
return key
|
||||
|
||||
Reference in New Issue
Block a user