Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration
This commit is contained in:
commit
c71f6e76d7
@ -48,7 +48,7 @@ func main() {
|
||||
state.FlagDebugger.Register(models.USERFLAG_INVALID_AMOUNT, "INVALIDAMOUNT")
|
||||
state.FlagDebugger.Register(models.USERFLAG_ALLOW_UPDATE, "UNLOCKFORUPDATE")
|
||||
state.FlagDebugger.Register(models.USERFLAG_VALIDPIN, "VALIDPIN")
|
||||
state.FlagDebugger.Register(models.USERFLAG_VALIDPIN, "ACCOUNTUNLOCKED")
|
||||
state.FlagDebugger.Register(models.USERFLAG_ACCOUNT_AUTHORIZED, "ACCOUNT_AUTHORIZED")
|
||||
state.FlagDebugger.Register(models.USERFLAG_ACCOUNT_CREATION_FAILED, "ACCOUNT_CREATION_FAILED")
|
||||
state.FlagDebugger.Register(models.USERFLAG_SINGLE_EDIT, "SINGLEEDIT")
|
||||
|
||||
|
@ -5,18 +5,18 @@ import "git.defalsify.org/vise.git/state"
|
||||
const (
|
||||
USERFLAG_LANGUAGE_SET = iota + state.FLAG_USERSTART
|
||||
USERFLAG_ACCOUNT_CREATED
|
||||
USERFLAG_ACCOUNT_CREATION_FAILED
|
||||
USERFLAG_ACCOUNT_PENDING
|
||||
USERFLAG_ACCOUNT_SUCCESS
|
||||
USERFLAG_PINMISMATCH
|
||||
USERFLAG_PIN_SET
|
||||
USERFLAG_ACCOUNT_AUTHORIZED
|
||||
USERFLAG_INVALID_RECIPIENT
|
||||
USERFLAG_INVALID_RECIPIENT_WITH_INVITE
|
||||
USERFLAG_INCORRECTPIN
|
||||
USERFLAG_ALLOW_UPDATE
|
||||
USERFLAG_INVALID_AMOUNT
|
||||
USERFLAG_PIN_SET
|
||||
USERFLAG_INCORRECTPIN
|
||||
USERFLAG_VALIDPIN
|
||||
USERFLAG_PINMISMATCH
|
||||
USERFLAG_INCORRECTDATEFORMAT
|
||||
USERFLAG_ACCOUNT_CREATION_FAILED
|
||||
USERFLAG_ALLOW_UPDATE
|
||||
USERFLAG_SINGLE_EDIT
|
||||
USERFLAG_INCORRECTDATEFORMAT
|
||||
)
|
||||
|
@ -1,16 +1,16 @@
|
||||
flag,flag_language_set,8,checks whether the user has set their prefered language
|
||||
flag,flag_account_created,9,this is set when an account has been created on the API
|
||||
flag,flag_account_pending,10,this is set when an account does not have a status of SUCCESS
|
||||
flag,flag_account_success,11,this is set when an account has a status of SUCCESS
|
||||
flag,flag_account_authorized,12,this is set to allow a user access guarded nodes after providing a correct PIN
|
||||
flag,flag_invalid_recipient,13,this is set when the transaction recipient is invalid
|
||||
flag,flag_invalid_recipient_with_invite,14,this is set when the transaction recipient is valid but not on the platform
|
||||
flag,flag_incorrect_pin,15,this is set when the provided PIN is invalid or does not match the current account's PIN
|
||||
flag,flag_allow_update,16,this is set to allow a user to update their profile data
|
||||
flag,flag_invalid_amount,17,this is set when the given transaction amount is invalid
|
||||
flag,flag_pin_set,18,this is set when a newly registered user sets a PIN. This must be present for an account to access the main menu
|
||||
flag,flag_valid_pin,19,this is set when the given PIN is valid
|
||||
flag,flag_pin_mismatch,20,this is set when the confirmation PIN matches the initial PIN during registration
|
||||
flag,flag_incorrect_date_format,21,this is set when the given year of birth is invalid
|
||||
flag,flag_account_creation_failed,22,this is set when there's an error from the API during account creation
|
||||
flag,flag_single_edit,23,this is set to allow a user to edit a single profile item such as year of birth
|
||||
flag,flag_account_creation_failed,10,this is set when there's an error from the API during account creation
|
||||
flag,flag_account_pending,11,this is set when an account does not have a status of SUCCESS
|
||||
flag,flag_account_success,12,this is set when an account has a status of SUCCESS
|
||||
flag,flag_pin_mismatch,13,this is set when the confirmation PIN matches the initial PIN during registration
|
||||
flag,flag_pin_set,14,this is set when a newly registered user sets a PIN. This must be present for an account to access the main menu
|
||||
flag,flag_account_authorized,15,this is set to allow a user access guarded nodes after providing a correct PIN
|
||||
flag,flag_invalid_recipient,16,this is set when the transaction recipient is invalid
|
||||
flag,flag_invalid_recipient_with_invite,17,this is set when the transaction recipient is valid but not on the platform
|
||||
flag,flag_invalid_amount,18,this is set when the given transaction amount is invalid
|
||||
flag,flag_incorrect_pin,19,this is set when the provided PIN is invalid or does not match the current account's PIN
|
||||
flag,flag_valid_pin,20,this is set when the given PIN is valid
|
||||
flag,flag_allow_update,21,this is set to allow a user to update their profile data
|
||||
flag,flag_single_edit,22,this is set to allow a user to edit a single profile item such as year of birth
|
||||
flag,flag_incorrect_date_format,23,this is set when the given year of birth is invalid
|
||||
|
|
Loading…
Reference in New Issue
Block a user