mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 03:09:33 +02: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:
parent
6b9b60d38c
commit
90e298fb39
10 changed files with 38 additions and 19 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue