Skip to content

Commit

Permalink
Delete BJC_PASSWORD references
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 8, 2024
1 parent bf0e167 commit ebfa5e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions config/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,17 @@

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


# Do not keep production secrets in the repository,
# 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:
Expand Down
2 changes: 1 addition & 1 deletion db/seed_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module SeedData
@welcome_email = <<-WELCOME_EMAIL
<p>Hi {{teacher_first_name}},<br /><br />Thanks for teaching with BJC!</p>
<p><strong>Accessing the teacher's guide:</strong><br />To view the <a title="teacher's guide" href="https://bjc.edc.org/teacher" target="_blank" rel="noopener">teacher's guide</a>, you will need the username: <code>bjcteacher</code> and the case-sensitive password: <code>{{bjc_password}}</code><br /><br />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. <br /><br />Please note that only the Teacher Guide <em>solutions</em> 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.</p>
<p><strong>Accessing the teacher's guide:</strong><br />To view the <a title="teacher's guide" href="https://bjc.edc.org/teacher" target="_blank" rel="noopener">teacher's guide</a>, you will login to the teacher tracker.<br /><br />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. <br /><br />Please note that only the Teacher Guide <em>solutions</em> 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.</p>
<p><strong>Piazza:</strong> <br />We have a teacher's forum on <a href="https://piazza.com" target="_blank" rel="noopener">Piazza</a>, 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 <a href="https://piazza.com/cs10k/other/bjcteachers" target="_blank" rel="noopener">BJC Teachers Forum</a>&nbsp;(<a href="https://piazza.com/cs10k/other/bjcteachers" target="_blank" rel="noopener">https://piazza.com/cs10k/other/bjcteachers/home</a>). Then enter the code <code>{{piazza_password}}</code> to get access. Please do not share this login information with anyone!</p>
Expand Down

0 comments on commit ebfa5e6

Please sign in to comment.