chore: update demo username
This commit is contained in:
parent
6cff920f0c
commit
8c2f89edc5
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ INSERT INTO
|
||||||
VALUES
|
VALUES
|
||||||
(
|
(
|
||||||
101,
|
101,
|
||||||
'demohero',
|
'memos-demo',
|
||||||
'HOST',
|
'HOST',
|
||||||
'demo@usememos.com',
|
'demo@usememos.com',
|
||||||
'Derobot',
|
'Derobot',
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const Auth = () => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (mode === "demo") {
|
if (mode === "demo") {
|
||||||
setUsername("demohero");
|
setUsername("memos-demo");
|
||||||
setPassword("secret");
|
setPassword("secret");
|
||||||
}
|
}
|
||||||
}, [mode]);
|
}, [mode]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue