mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-14 02:37:11 -07:00
feat: Redirect Logged Out Users to Default Group, If It's Public (#2772)
* add default group slug to app info if public * redirect public user to default group * added tests --------- Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
parent
e686fa671c
commit
f42114e966
5 changed files with 50 additions and 3 deletions
|
@ -33,6 +33,7 @@ export interface AppInfo {
|
|||
version: string;
|
||||
demoStatus: boolean;
|
||||
allowSignup: boolean;
|
||||
defaultGroupSlug?: string;
|
||||
}
|
||||
export interface AppStartupInfo {
|
||||
isFirstLogin: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue