templates/device_verification.str in rodauth-oauth-0.10.4 vs templates/device_verification.str in rodauth-oauth-1.0.0.pre.beta1

- old
+ new

@@ -1,10 +1,10 @@ <form method="post" action="#{rodauth.device_path}" class="form-horizontal" role="form" id="device-verification-form"> #{csrf_tag(rodauth.device_path) if respond_to?(:csrf_tag)} - <p class="lead">The device with user code #{@oauth_grant[rodauth.oauth_grants_user_code_column]} would like to access your data.</p> + <p class="lead">#{rodauth.oauth_device_verification_page_lead(user_code: @oauth_grant[rodauth.oauth_grants_user_code_column])}</p> <div class="form-group"> - <h1 class="display-6">#{rodauth.oauth_tokens_scopes_label}</h1> + <h1 class="display-6">#{rodauth.oauth_grants_scopes_label}</h1> <ul class="list-group"> #{ scopes = @oauth_grant[rodauth.oauth_grants_scopes_column].split(rodauth.oauth_scope_separator) scopes.map do |scope|