mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-07 02:45:22 -05:00
Fix/fix block registration (#1059)
* fix disable button * add backend env for restricting registration * update state management * add allow_signup to app info * move allow_signup to backend only * cleanup docker-compose * potential darkmode fix * fix missing variable * add banner on login page * use random bools for tests * fix initial state bug * fix state reset
This commit is contained in:
@@ -9,6 +9,7 @@ export interface AdminAboutInfo {
|
||||
production: boolean;
|
||||
version: string;
|
||||
demoStatus: boolean;
|
||||
allowSignup: boolean;
|
||||
versionLatest: string;
|
||||
apiPort: number;
|
||||
apiDocs: boolean;
|
||||
@@ -29,6 +30,7 @@ export interface AppInfo {
|
||||
production: boolean;
|
||||
version: string;
|
||||
demoStatus: boolean;
|
||||
allowSignup: boolean;
|
||||
}
|
||||
export interface AppStatistics {
|
||||
totalRecipes: number;
|
||||
|
||||
@@ -11,9 +11,12 @@ export interface ErrorResponse {
|
||||
exception?: string;
|
||||
}
|
||||
export interface FileTokenResponse {
|
||||
file_token: string;
|
||||
fileToken: string;
|
||||
}
|
||||
export interface SuccessResponse {
|
||||
message: string;
|
||||
error?: boolean;
|
||||
}
|
||||
export interface ValidationResponse {
|
||||
valid?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user