mirror of
https://github.com/google/nomulus
synced 2026-09-28 10:45:36 +00:00
Only show OT&E admin actions when not in production environment
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237061813
This commit is contained in:
@@ -36,11 +36,13 @@ goog.require('registry.registrar.Console');
|
||||
* @param {string} announcementsEmail
|
||||
* @param {string} supportPhoneNumber
|
||||
* @param {string} technicalDocsUrl
|
||||
* @param {string} environment
|
||||
* @export
|
||||
*/
|
||||
registry.registrar.main = function(
|
||||
xsrfToken, clientId, isAdmin, isOwner, productName, integrationEmail,
|
||||
supportEmail, announcementsEmail, supportPhoneNumber, technicalDocsUrl) {
|
||||
supportEmail, announcementsEmail, supportPhoneNumber, technicalDocsUrl,
|
||||
environment) {
|
||||
const console = new registry.registrar.Console({
|
||||
xsrfToken: xsrfToken,
|
||||
clientId: clientId,
|
||||
@@ -51,7 +53,8 @@ registry.registrar.main = function(
|
||||
supportEmail: supportEmail,
|
||||
announcementsEmail: announcementsEmail,
|
||||
supportPhoneNumber: supportPhoneNumber,
|
||||
technicalDocsUrl: technicalDocsUrl
|
||||
technicalDocsUrl: technicalDocsUrl,
|
||||
environment: environment,
|
||||
});
|
||||
|
||||
console.setUp();
|
||||
|
||||
Reference in New Issue
Block a user