Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathias Engelbrecht Pilegård
Pipit
Commits
473a37b4
Commit
473a37b4
authored
Aug 31, 2021
by
Mathias Engelbrecht Pilegård
Browse files
added ability to update user information from account page
parent
c95d4c42
Changes
48
Expand all
Hide whitespace changes
Inline
Side-by-side
client/node_modules/.cache/babel-loader/f69893d5b6a088f164f0698fe23922e9.json
0 → 100644
View file @
473a37b4
{
"ast"
:
null
,
"code"
:
"export default {
\n
oidc: {
\n
clientId: '0oa1f4zfeiiZPB6DF5d7',
\n
issuer: 'https://dev-91882654.okta.com/oauth2/default',
\n
redirectUri: window.location.origin + '/login/callback',
\n
scopes: ['openid', 'profile', 'email'],
\n
pkce: true
\n
},
\n
serviceAPI: {
\n
messagesURL: 'http://localhost:3030/api/messages',
\n
createNewUserURL: 'http://localhost:3030/api/create-user',
\n
forgotPasswordURL: 'http://localhost:3030/api/recover-user-password',
\n
removeAccountURL: 'http://localhost:3030/api/remove-user',
\n
updateUserDataURL: 'http://localhost:3030/api/update-user-data'
\n
}
\n
};"
,
"map"
:{
"version"
:
3
,
"sources"
:[
"C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/config.js"
],
"names"
:[
"oidc"
,
"clientId"
,
"issuer"
,
"redirectUri"
,
"window"
,
"location"
,
"origin"
,
"scopes"
,
"pkce"
,
"serviceAPI"
,
"messagesURL"
,
"createNewUserURL"
,
"forgotPasswordURL"
,
"removeAccountURL"
,
"updateUserDataURL"
],
"mappings"
:
"AAAA,eAAe;AACbA,EAAAA,IAAI,EAAE;AACJC,IAAAA,QAAQ,EAAE,sBADN;AAEJC,IAAAA,MAAM,EAAE,8CAFJ;AAGJC,IAAAA,WAAW,EAAEC,MAAM,CAACC,QAAP,CAAgBC,MAAhB,GAAyB,iBAHlC;AAIJC,IAAAA,MAAM,EAAE,CAAC,QAAD,EAAW,SAAX,EAAsB,OAAtB,CAJJ;AAKJC,IAAAA,IAAI,EAAE;AALF,GADO;AAQbC,EAAAA,UAAU,EAAE;AACVC,IAAAA,WAAW,EAAE,oCADH;AAEVC,IAAAA,gBAAgB,EAAE,uCAFR;AAGVC,IAAAA,iBAAiB,EAAE,iDAHT;AAIVC,IAAAA,gBAAgB,EAAE,uCAJR;AAKVC,IAAAA,iBAAiB,EAAE;AALT;AARC,CAAf"
,
"sourcesContent"
:[
"export default {
\r\n
oidc: {
\r\n
clientId: '0oa1f4zfeiiZPB6DF5d7',
\r\n
issuer: 'https://dev-91882654.okta.com/oauth2/default',
\r\n
redirectUri: window.location.origin + '/login/callback',
\r\n
scopes: ['openid', 'profile', 'email'],
\r\n
pkce: true
\r\n
},
\r\n
serviceAPI: {
\r\n
messagesURL: 'http://localhost:3030/api/messages',
\r\n
createNewUserURL: 'http://localhost:3030/api/create-user',
\r\n
forgotPasswordURL: 'http://localhost:3030/api/recover-user-password',
\r\n
removeAccountURL: 'http://localhost:3030/api/remove-user',
\r\n
updateUserDataURL: 'http://localhost:3030/api/update-user-data'
\r\n
}
\r\n
};"
]},
"metadata"
:{},
"sourceType"
:
"module"
}
\ No newline at end of file
client/node_modules/.cache/babel-loader/f96b198f988e6f35eb95bc66884b328f.json
0 → 100644
View file @
473a37b4
This diff is collapsed.
Click to expand it.
client/src/config.js
View file @
473a37b4
...
...
@@ -10,6 +10,7 @@ export default {
messagesURL
:
'
http://localhost:3030/api/messages
'
,
createNewUserURL
:
'
http://localhost:3030/api/create-user
'
,
forgotPasswordURL
:
'
http://localhost:3030/api/recover-user-password
'
,
removeAccountURL
:
'
http://localhost:3030/api/remove-user
'
removeAccountURL
:
'
http://localhost:3030/api/remove-user
'
,
updateUserDataURL
:
'
http://localhost:3030/api/update-user-data
'
}
};
\ No newline at end of file
client/src/pages/account/Account.jsx
View file @
473a37b4
This diff is collapsed.
Click to expand it.
client/src/pages/account/updateUserData/UpdateUserDataModal.css
0 → 100644
View file @
473a37b4
.updateUserDataModal
label
{
padding-bottom
:
12px
;
display
:
block
;
font-size
:
12px
;
}
.updateUserDataModal
input
{
width
:
100%
;
padding
:
8px
;
margin
:
4px
60px
0
0
;
border
:
1px
solid
lightgrey
;
border-radius
:
4px
;
resize
:
vertical
;
}
.updateUserDataModal
.buttonContainer
{
margin-top
:
10px
;
display
:
flex
;
}
.updateUserDataModal
.buttonContainer
.noButton
{
margin-right
:
10px
;
background-color
:
white
;
color
:
black
;
border-color
:
black
;
}
.updateUserDataModal
.buttonContainer
.yesButton
{
margin-left
:
10px
;
}
\ No newline at end of file
client/src/pages/account/updateUserData/UpdateUserDataModal.jsx
0 → 100644
View file @
473a37b4
This diff is collapsed.
Click to expand it.
client/src/pages/login/signUp/SignUp.jsx
View file @
473a37b4
This diff is collapsed.
Click to expand it.
serviceAPI/service/accountService.go
View file @
473a37b4
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
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