Commit 7ff00689 authored by thibaut-felten's avatar thibaut-felten

Merge

parent 866bd4ff
...@@ -99,19 +99,11 @@ export default { ...@@ -99,19 +99,11 @@ export default {
}) })
} }
<<<<<<< HEAD
},
components: {
LoginNavbar
},
}
=======
}, },
components:{ components:{
LoginNavbar LoginNavbar
} }
} }
>>>>>>> 97c6d41dc424575a3414673ca6d5e508e1423274
import LoginNavbar from '../components/LoginNavbar.vue' import LoginNavbar from '../components/LoginNavbar.vue'
</script> </script>
\ No newline at end of file
...@@ -87,13 +87,8 @@ export default { ...@@ -87,13 +87,8 @@ export default {
}, },
methods: { methods: {
check: function(){ check: function(){
<<<<<<< HEAD
let login = this.login
let password = this.password
=======
let login = this.log let login = this.log
let password = this.pass let password = this.pass
>>>>>>> 97c6d41dc424575a3414673ca6d5e508e1423274
var bcrypt = require('bcryptjs'); var bcrypt = require('bcryptjs');
var salt = "$2a$08$c0GzKSB8g6.rZLF98GJvQu" var salt = "$2a$08$c0GzKSB8g6.rZLF98GJvQu"
var hash = bcrypt.hashSync(password, salt) var hash = bcrypt.hashSync(password, salt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment