Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F904775
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 29, 1:49 PM
Size
698 B
Mime Type
text/x-diff
Expires
Sun, Aug 31, 1:49 PM (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
252235
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/app/views/users/token.html.erb b/app/views/users/token.html.erb
index 9a8077c..74feda7 100644
--- a/app/views/users/token.html.erb
+++ b/app/views/users/token.html.erb
@@ -1,16 +1,16 @@
<div>
<h1>API access token</h1>
<p>
<%= bootstrap_form_for(@user, url: generate_token_user_path(@user), method: :post) do |f| %>
<div class="input-group">
<span class="input-group-addon">Token</span>
- <input type="text" class="form-control" value="<%= @user.token %>">
+ <input type="text" class="form-control" value="<%= @user.token %>" readonly>
</div>
</p>
<p>
<%= f.submit 'Generate', class: 'btn btn-primary' %>
</p>
<% end %>
</div>
Event Timeline
Log In to Comment