%
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see
<%= f.blabel :unique_id, :en => "Login" %> | <%= f.text_field :unique_id %> |
<%= f.blabel :account_id, :en => "Account" %> | <% accounts = Account.root_accounts .active .non_shadow .map { |a| [(a.name || t("Unnamed Account (%{id})", id: a.id)), a.id] } .sort_by(&:first) %> <%= f.select :account_id, accounts, {:selected => @domain_root_account.id}, :class => "account_id_select" %> |
<%= f.blabel :password, :en => "Password" %> | <%= f.password_field :password %> |
<%= f.blabel :password_confirmation, :en => "Confirm Password" %> | <%= f.password_field :password_confirmation %> |
<%= t do %>
Note: This login's account uses delegated authentication, but
allows fallback Canvas password authentication. The password
fields in this form update the fallback Canvas password,
not the delegated authentication.
<% end %>
|