Skip to content

Commit 0f81c09

Browse files
committed
db and reorder
1 parent 67b9665 commit 0f81c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/adv_app2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from hmac import compare_digest
66
from monsterui.all import *
77

8-
db = database(':memory:')
8+
db = database('data/todos.db')
99

1010

1111

@@ -53,7 +53,7 @@ def user_auth_before(req, sess):
5353
def get():
5454
frm = Form(
5555
LabelInput("Name", name='name'),
56-
LabelInput("Password", name='pwd'),
56+
LabelInput("Password", name='pwd', type='password'),
5757
Button('login'),
5858
action='/login', method='post')
5959
return Titled("Login", frm, cls=ContainerT.sm)

0 commit comments

Comments
 (0)