# login_mod

# Function

Function Name Description Level
login_mod This is used in conjuntion with the "is_login_mod" flag returned from the below functions. If this flag is set to true, the app need to re-authenticate with server to receive a special cookies to proceed.

Input Parameters:

Name Type Required? Description Level
username byte[] yes
password byte[] yes The app should send the encrypted password to the server if there is instruction received from get_config. Otherwise send the plain-text password. For example most of the vBulletin systems requires md5 encryption by default, while SMF systems support SHA-1 encryption.

Output Parameters:

Name Type Required? Description Level
result Boolean yes return true if the action is executed successfully.
result_text byte[] message to be displayed to users if there is complication.