From ebfa5e62ddca1e99e826536861f148ab1b4b24f0 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Mon, 8 Jul 2024 14:12:57 -0700 Subject: [PATCH] Delete BJC_PASSWORD references --- config/secrets.yml | 3 --- db/seed_data.rb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config/secrets.yml b/config/secrets.yml index 69fe4ce9..aabb46a8 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -12,12 +12,10 @@ development: secret_key_base: 066767348481c5869625c111a6a5d489b2b1bf24f030c832cbb814faa6c0bc005653efeb79c594776703aa468884323e6e7e914e929113fb2c95b072738ed24f - bjc_password: development-bjc-password piazza_password: development-piazza-password test: secret_key_base: a3c66cdded70fc6fa14d8aee9446c17c740d812d0b9f0998c7f937a269cba135406087e399eb36ff230fee10befedb7b5eda0eb35dac5c8e4c427039f6c945b7 - bjc_password: test-bjc-password piazza_password: test-piazza-password @@ -25,7 +23,6 @@ test: # instead read values from the environment. production: &production secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> - bjc_password: <%= ENV["BJC_PASSWORD"] %> piazza_password: <%= ENV["PIAZZA_PASSWORD"] %> staging: diff --git a/db/seed_data.rb b/db/seed_data.rb index fb05ad7c..327522fb 100644 --- a/db/seed_data.rb +++ b/db/seed_data.rb @@ -4,7 +4,7 @@ module SeedData @welcome_email = <<-WELCOME_EMAIL

Hi {{teacher_first_name}},

Thanks for teaching with BJC!

-

Accessing the teacher's guide:
To view the teacher's guide, you will need the username: bjcteacher and the case-sensitive password: {{bjc_password}}

After you enter the password once it will be stored in a cookie for that browser; if you delete your browser cookies, you will need to reenter it. If you use this password on a computer that students also use, they will have access to these pages until you clear the cookies.

Please note that only the Teacher Guide solutions pages are affected by this. Students will still be able to see the Teacher Guide course overview page, the Teacher Resources page, and the Teacher Guide unit overview pages.

+

Accessing the teacher's guide:
To view the teacher's guide, you will login to the teacher tracker.

After you enter the password once it will be stored in a cookie for that browser; if you delete your browser cookies, you will need to reenter it. If you use this password on a computer that students also use, they will have access to these pages until you clear the cookies.

Please note that only the Teacher Guide solutions pages are affected by this. Students will still be able to see the Teacher Guide course overview page, the Teacher Resources page, and the Teacher Guide unit overview pages.

Piazza:
We have a teacher's forum on Piazza, where we will share updates and you can get your questions answered. If you have not been added to Piazza, you can add yourself using this email address. Go to our BJC Teachers Forum (https://piazza.com/cs10k/other/bjcteachers/home). Then enter the code {{piazza_password}} to get access. Please do not share this login information with anyone!