Skip to content

Commit

Permalink
Merge pull request #25 from DogukanUrker/main
Browse files Browse the repository at this point in the history
Added default admin account
  • Loading branch information
DogukanUrker authored Dec 6, 2023
2 parents b1ee0fc + 5fe581c commit cff8b34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ or
`python desktop.py`
for run flaskBlog as a desktop app 💯

### Default Admin Account

Username: admin

Password: admin

### Contributors 💕

<a href="https://github.com/dogukanurker"><img src="https://avatars.githubusercontent.com/u/62756402" title="ngryman" width="80" height="80"></a>
Expand Down
Binary file modified db/users.db
Binary file not shown.
2 changes: 1 addition & 1 deletion forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class loginForm(Form):
)
password = PasswordField(
"Password",
[validators.Length(min=8), validators.InputRequired()],
[validators.Length(min=5), validators.InputRequired()],
render_kw={"placeholder": "password"},
)

Expand Down

0 comments on commit cff8b34

Please sign in to comment.