diff --git a/src/server/backend/db/data/db.json b/src/server/backend/db/data/db.json index 0b568e1..a35a694 100644 --- a/src/server/backend/db/data/db.json +++ b/src/server/backend/db/data/db.json @@ -1 +1 @@ -{"db":{"libreevent_temp":{},"libreevent_admin":{},"libreevent_orders":{},"libreevent_users":{}},"index":{"libreevent_temp":0,"libreevent_admin":0,"libreevent_orders":0,"libreevent_users":0}} \ No newline at end of file +{"db":{"libreevent_temp":{},"libreevent_admin":{"2":{"role":"eventManager","username":"janis","email":"info@janishutz.com","pass":"$2b$10$yjTZTt0k1bvmz.WOm.81l.vFnd6vXLVhFvNQ2b/6EvRa07ktG2Fo6","two_fa":"enhanced"}},"libreevent_orders":{},"libreevent_users":{}},"index":{"libreevent_temp":0,"libreevent_admin":2,"libreevent_orders":0,"libreevent_users":0}} \ No newline at end of file diff --git a/src/server/ui/home/active/nav.html b/src/server/ui/home/active/nav.html index e69de29..c912296 100644 --- a/src/server/ui/home/active/nav.html +++ b/src/server/ui/home/active/nav.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/src/webapp/main/src/views/admin/SettingsView.vue b/src/webapp/main/src/views/admin/SettingsView.vue index d3538a7..cd0740a 100644 --- a/src/webapp/main/src/views/admin/SettingsView.vue +++ b/src/webapp/main/src/views/admin/SettingsView.vue @@ -16,6 +16,8 @@

Changing any of these settings requires a restart of libreevent.

Currency codes used must be valid ISO 4217 codes. Read more on this page of the documentation

+ +

Detailed explanation of payment gateways can be found here. Please note that you need to save the settings before you can edit settings of the payment gateway after changing it.

@@ -26,8 +28,6 @@
- -

Detailed explanation of payment gateways can be found here. Please note that you need to save the settings before you can edit settings of the payment gateway after changing it.

Admin Accounts

@@ -368,7 +368,7 @@ if ( this.currentPopup === 'deleteUser' ) { let fetchOptions = { method: 'post', - body: JSON.stringify( { } ), + body: JSON.stringify( { 'email': this.currentlyOpenMenu } ), headers: { 'Content-Type': 'application/json', 'charset': 'utf-8'