Commit 473a37b4 authored by Mathias Engelbrecht Pilegård's avatar Mathias Engelbrecht Pilegård
Browse files

added ability to update user information from account page

parent c95d4c42
{"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
......@@ -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
This diff is collapsed.
.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
This diff is collapsed.
This diff is collapsed.
Supports Markdown
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