[squeak-dev] #clearCredentials vs. ModificationForbidden

Chris Muller asqueaker at gmail.com
Wed Jun 10 01:26:01 UTC 2020


Hi Marcel,

We should remove MCHttpRepository>>'user' and 'password' instVars entirely,
and simply stick with #userAndPasswordFromSettingsDo:.

When they select 'edit repository info' function of the Repository menu, it
should update the prefs file.

We should not store id's and passwords in the image.

Best,
  Chris

On Fri, Jun 5, 2020 at 9:27 AM Marcel Taeumel <marcel.taeumel at hpi.de> wrote:

> Hi all!
>
> How to update MCHttpRepository >> #clearCredentials?
>
> clearCredentials
> user ifNotNil: [user atAllPut: $x].
> password ifNotNil: [password atAllPut: $x].
> user := password := String empty
>
> Make those strings not be read-only?
>
> Best,
> Marcel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200609/7086fd0b/attachment.html>


More information about the Squeak-dev mailing list