-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,11 @@ <h4 class="ui header"> | |
data-clipboard-text="{{ app.key.prod }}"> | ||
<i class="copy icon"></i> Kopier | ||
</button> | ||
<button | ||
class="ui orange right labeled icon button keygen" | ||
data-clipboard-text="{{ app.key.dev }}"> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
geekus
Author
Contributor
|
||
<i class="refresh icon"></i> Lag ny | ||
</button> | ||
</div> | ||
</div> | ||
<div class="four wide field"> | ||
|
@@ -89,6 +94,11 @@ <h4 class="ui header"> | |
data-clipboard-text="{{ app.key.dev }}"> | ||
<i class="copy icon"></i> Kopier | ||
</button> | ||
<button | ||
class="ui orange right labeled icon button keygen" | ||
data-clipboard-text="{{ app.key.dev }}"> | ||
<i class="refresh icon"></i> Lag ny | ||
</button> | ||
</div> | ||
</div> | ||
<div class="four wide field"> | ||
|
2 comments
on commit 4c9229c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This enables users to post their own keys since the new key is handled by the client code and hence not a good idea. The new key should be saved when re-generated and not be saved when posting the schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Tried to keep it simple, but this might be too simple. I'll fix before merging.
This is not secure.