mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Separate CLOUD_MODE and DISABLE_LOGIN.
This commit is contained in:
parent
3f1ed750f0
commit
02f031bde1
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ export default function LoginPage({ disabled }) {
|
|||
export async function getServerSideProps() {
|
||||
return {
|
||||
props: {
|
||||
disabled: !!(process.env.DISABLE_LOGIN || process.env.CLOUD_MODE),
|
||||
disabled: !!process.env.DISABLE_LOGIN,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue