Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thibaut Felten
projet-cdaw
Commits
501c6a3f
Commit
501c6a3f
authored
Dec 04, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inscription
parent
1a585a58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
main.js
frontend/src/main.js
+1
-1
Inscription.vue
frontend/src/views/Inscription.vue
+0
-6
No files found.
frontend/src/main.js
View file @
501c6a3f
...
...
@@ -4,7 +4,7 @@ import router from './router'
Vue
.
config
.
productionTip
=
false
sessionStorage
.
setItem
(
'APIURL'
,
'http://localhost/
felten/
projet-cdaw/backend/MVC/api.php'
)
sessionStorage
.
setItem
(
'APIURL'
,
'http://localhost/projet-cdaw/backend/MVC/api.php'
)
new
Vue
({
router
,
...
...
frontend/src/views/Inscription.vue
View file @
501c6a3f
...
...
@@ -90,7 +90,6 @@
</
style
>
<
script
>
const
user
=
require
(
"../model/user.js"
)
export
default
{
name
:
'Inscription'
,
...
...
@@ -146,11 +145,6 @@ export default {
fetch
(
url
,
params
)
.
then
(
response
=>
response
.
json
())
.
then
(
response
=>
{
user
.
token
=
response
.
jwt_token
user
.
id
=
response
.
id
user
.
name
=
response
.
login
})
.
then
(
this
.
$router
.
push
(
'/'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment