fix: check that application URL and email agent are configured for password reset/generation (#1724)

* fix: check that application URL and email agent are configured for password reset/generation

* refactor: reverse flex direction instead of conditionally changing justify
This commit is contained in:
TheCatLady
2021-06-09 23:56:33 -04:00
committed by GitHub
parent 43b2e693e7
commit 091d66a192
10 changed files with 51 additions and 32 deletions

View File

@@ -9,6 +9,7 @@ export interface SettingsContextProps {
const defaultSettings = {
initialized: false,
applicationTitle: 'Overseerr',
applicationUrl: '',
hideAvailable: false,
localLogin: true,
movie4kEnabled: false,
@@ -20,6 +21,7 @@ const defaultSettings = {
vapidPublic: '',
enablePushRegistration: false,
locale: 'en',
emailEnabled: false,
};
export const SettingsContext = React.createContext<SettingsContextProps>({