Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Fri, Aug 29, 1:49 PM
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