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
Raphaël PEIM
projet-cdaw
Commits
d08d00d9
Commit
d08d00d9
authored
Dec 04, 2020
by
raphael.peim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bugs
parent
393f6918
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Profile.vue
frontend/src/views/Profile.vue
+1
-1
Signup.vue
frontend/src/views/Signup.vue
+1
-1
No files found.
frontend/src/views/Profile.vue
View file @
d08d00d9
...
...
@@ -84,7 +84,7 @@
input
.
autocomplete
=
'off'
input
.
required
=
true
if
(
key
==
"id"
||
key
==
"password"
||
key
==
"role"
)
if
(
key
==
"id"
||
key
==
"password"
||
key
==
"role"
||
key
==
"avatar"
||
key
==
"avatar_url"
)
input
.
hidden
=
true
div
.
append
(
input
)
...
...
frontend/src/views/Signup.vue
View file @
d08d00d9
...
...
@@ -56,7 +56,7 @@
onSubmit
(
evt
)
{
evt
.
preventDefault
()
const
form
=
document
.
forms
[
0
]
let
body
=
{
'role'
:
0
}
let
body
=
{
'
avatar'
:
1
,
'avatar_url'
:
''
,
'
role'
:
0
}
// Si les mots de passe sont bien les mêmes
if
(
form
.
elements
.
password
.
value
==
form
.
elements
.
passwordRepeat
.
value
)
{
...
...
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