JSH32 / Backpack

Highly performant and advanced self hosted file sharing platform made in Rust
MIT License
61 stars 10 forks source link

Allows sending the regkey if server is private #4

Closed Deniernal354 closed 4 years ago

Deniernal354 commented 4 years ago

The login function was modified to fetch the data from a global dataObject when initiating the post request. The object is then altered to include the regkey if the server was found to be in private mode.

Deniernal354 commented 4 years ago

Also, the signup.ejs file located at /views/signup.ejs on lines 67 - 69 contains 2 input type fields. One is password and the other is text.

Preview:

code

JSH32 commented 4 years ago

I would commit this but I am currently in the process of rewriting the entire backend into Rust and frontend into Vue but thanks for doing this, might use the code in the rewrite!