-
Notifications
You must be signed in to change notification settings - Fork 0
update scaffold with our latest standards #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
12c04c4
b1aa9c9
e51e530
2e8bbc3
a691ee5
f5a7961
4514c3a
e36078f
ac9db44
f596149
99c39bd
f2bfcae
edce257
659e015
c9ae5c8
462df6c
6a3b719
38a3226
79ab69e
c43efd0
6489ec5
43b0f3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { post } from '@/api/implementation/app'; | ||
|
||
export default function (email) { | ||
return post('password/forgotten', { | ||
email, | ||
}); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { post } from '@/api/implementation/app'; | ||
|
||
export default async function (email, token, password, passwordConfirmation) { | ||
return post('password/reset', { | ||
email, | ||
token, | ||
password, | ||
passwordConfirmation, | ||
}); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
import { post } from '../../implementation/app'; | ||
|
||
function register(email, name) { | ||
return post('registration', { | ||
function verify(token, email, password, passwordConfirmation) { | ||
return post('registration/verify', { | ||
token, | ||
email, | ||
name, | ||
password, | ||
passwordConfirmation, | ||
}); | ||
} | ||
|
||
function verify(token, email, password, passwordConfirmation) { | ||
return post('registration/verify', { | ||
token: token, | ||
email: email, | ||
password: password, | ||
password_confirmation: passwordConfirmation, | ||
function acceptInvitation(email, token, password, passwordConfirmation) { | ||
return post('invitation/accept', { | ||
email, | ||
password, | ||
passwordConfirmation, | ||
token, | ||
}); | ||
} | ||
|
||
export { | ||
register, | ||
verify, | ||
acceptInvitation, | ||
}; |
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -2,9 +2,9 @@ import { post } from '../../implementation/app'; | |||||||
|
||||||||
export default async function (email, token, password, passwordConfirmation) { | ||||||||
return post('registration', { | ||||||||
Comment on lines
3
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Volgens mij werkt dit ook 😸 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moet de rest wel weg. Ik kon niet alles selecteren omdat er verwijderde regels in zatten |
||||||||
email: email, | ||||||||
token: token, | ||||||||
password: password, | ||||||||
password_confirmation: passwordConfirmation, | ||||||||
email, | ||||||||
token, | ||||||||
password, | ||||||||
passwordConfirmation, | ||||||||
}); | ||||||||
} |
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.