Skip to content
Snippets Groups Projects
Commit 4b349d2e authored by Tarek Shah's avatar Tarek Shah
Browse files

changed password to be more secure

parent 32984289
No related branches found
No related tags found
No related merge requests found
......@@ -510,7 +510,7 @@ def testing():
if __name__ == '__main__':
database = runtime_import("database_implementation/")[0].IMPLEMENTATION()
database.initialize()
database.create_user("test_user","12345")
database.create_user("test_user","CETSp@ssword!")
database.create_user("test_user2","12345")
......
......@@ -22,7 +22,7 @@ function App() {
const [foo, setFoo] = useState('');
const [authenticated, setAuthenticated] = useState(false);
const [username, setUsername] = useState(""); //test_user
const [password, setPassword] = useState(""); //12345
const [password, setPassword] = useState(""); //CETSp@ssword!
useEffect(() => {
// Check if user is already authenticated from sessionStorage
......
......@@ -11,7 +11,7 @@ export const dbCreateCollection = async (newCollectionName, newCollectionType)
},
body: JSON.stringify(
{
"authenticate":{"username":"test_user","password":"12345"},
"authenticate":{"username":"test_user","password":"CETSp@assword!"},
"collection_info":{"collection_name": newCollectionName, "type":newCollectionType}
}
),
......@@ -106,7 +106,7 @@ export const dbUpdateCollectionGlob = async (collection_id,glob) => {
},
body: JSON.stringify(
{
"authenticate":{"username":"test_user","password":"12345"},
"authenticate":{"username":"test_user","password":"CETSp@assword!"},
"collection_info":{
"collection_id": collection_id,
"glob":glob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment