1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-28 01:29:42 +02:00

Use absolute paths for uploads and db (#168)

* Use absolute paths for uploads and db

* Fix name interference

* Add error on auth page

* remove space

* Support of separated upload folder with absolute path

* fix files uploading

* remove log

* fix comment

Co-authored-by: n0str <team@codex.so>
Co-authored-by: Nikita Melnikov <nikmel2803@gmail.com>
This commit is contained in:
Alexander Menshikov 2022-04-22 23:28:40 +03:00 committed by GitHub
parent 331d45bf73
commit 836aa8985e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 29 additions and 9 deletions

View file

@ -8,6 +8,9 @@
<p>
Enter a password to access pages editing
</p>
<p>
{{ header }}
</p>
<input type="hidden" name="_csrf" value={{ csrfToken }}>
<input type="password" name="password" placeholder="Password">
<input type="submit" value="Login">