If no authToken is stored in settings but email and password are on startup the log_in route is triggered to receive a new token. This token will be used to access a protected API.
This commit is contained in:
@ -5,12 +5,14 @@
|
||||
|
||||
// TODO add namespace
|
||||
|
||||
static const QString ROUTE_LOG_IN = "/log_in";
|
||||
static const QString ROUTE_USER_LOG_IN = "/log_in";
|
||||
|
||||
static const QString apiPrefix = "/api/";
|
||||
|
||||
static const QString ROUTE_ITEMS = apiPrefix + "items";
|
||||
|
||||
static const QString ROUTE_ADMIN_LOG_IN = apiPrefix + "log_in";
|
||||
|
||||
static const QString ROUTE_REGISTER_USER = apiPrefix + "users";
|
||||
static const QString ROUTE_MAIL_INVITE = apiPrefix + "invite";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user