login_app 0.1.5

A generic login module for web apps
Documentation
db_folder = "database"
db_filename = "login_app.db"
log_folder = "logs"
log_filename_prefix = "login_"
log_level_on_terminal = "debug" # available levels, in the increasing order of importance, are: trace, debug, info, warn, error
log_level_on_write = "debug"
min_password_length = 8
permitted_special_characters_in_password = "~!@#$%^&*"
token_length = 6 # used in emails sent for registration confirmation and forgot password
token_chars = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789" # confusing letters I,1, O, 0 are excluded in this list
token_validity_time = 60 # on expiry of validity time, actions such as: removal of registration record is carried out
token_validity_unit = "seconds" # available values: "milliseconds", "seconds", "minutes", "hours"
id_length = 16 # session-id length is used to generate random characters, which in turn, 
               # is used for identifying logged user in a web browser session
id_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ023456789*-.^"
id_validity = 10 # in minutes
pair_separator = "&"
value_separator = "="
email_enabled = "true" # added for a convenience on enable/disable sending email, development environment in particular
email_from = "mohankumar.anna@eastgate.in" # emails for registration confirmation or password reset, are sent through this email id
messages_from = "Messages_en.json" # for english;  in case of, say, Tamil, modify this entry to something like "Messages_ta.json"

# dev environment
ip_address = "127.0.0.1:5000"  # Use it in dev environment

# prod environment
#ip_address = "0.0.0.0:5000"  # Use it in prod environment